<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>工单管理</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css" media="all" />
</head>
<body class="childrenBody">
	<!--查询和工具栏开始-->
	<form class="layui-form " action="" method="post" id="searchFrm" lay-filter="searchFrm">
		<div class="layui-inline">
			<input type="text" class="layui-input searchVal" placeholder="请输入报修人姓名" />
		</div>
		<button type="button" class="layui-btn search_btn" id="search_btn" lay-filter="search_btn"><span class="layui-icon layui-icon-search"></span>搜索</button>
		<button type="button" class="layui-btn layui-btn-normal" id="add_btn" lay-filter="add_btn"><i class="layui-icon">&#xe608;</i>添加工单</button>
	</form>
	<!--查询和工具栏结束-->
	<br><!--yw 分隔-->
	<!--数据表格开始-->
	<div class="layui-col-md6"><!--yw 确定宽度-->
		<table id="list" lay-filter="list" ></table><!--yw 显示列表数据-->
		<!--行工具条-->
		<div id="listRowBar" style="display:none;">
<!--			<a lay-event="see"><i class="layui-icon" >&#xe705;</i>查看</a>-->
<!--			<a lay-event="edit"><i class="layui-icon" >&#xe642;</i>处理结果</a>-->
<!--			<a lay-event="del"><i class="layui-icon" >&#xe640;</i>删除</a>-->
			<a lay-event="see"><i class="layui-icon" >&#xe705;</i></a>
			<a lay-event="edit"><i class="layui-icon" >&#xe642;</i></a>
			<a lay-event="del"><i class="layui-icon" >&#xe640;</i></a>
		</div>
	</div>
	<!--数据表格结束-->
	<!-- 查看弹出层开始-->
	<div style="display:none;padding:10px" id="seeDiv">
		<form action="" method="post" class="layui-form" id="dataFrm2" lay-filter="dataFrm2">
			<div class="layui-form-item">
				<label class="layui-form-label">工单编号</label>
				<div class="layui-input-block">
					<input type="text" id="see1"  autocomplete="off" class="layui-input" lay-verify="lenLimit20" disabled="disabled" >
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">状态</label>
				<div class="layui-input-block">
					<input type="text" id="see2"  autocomplete="off" class="layui-input" lay-verify="lenLimit20" disabled="disabled" >
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">报修学校</label>
				<div class="layui-input-block">
					<input type="text" id="see3"  autocomplete="off" class="layui-input" lay-verify="lenLimit20" disabled="disabled" >
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">报修人</label>
				<div class="layui-input-block">
					<input type="text" id="see4"  autocomplete="off" class="layui-input" lay-verify="lenLimit20" disabled="disabled" >
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">联系电话</label>
				<div class="layui-input-block">
					<input type="text" id="see5" autocomplete="off" class="layui-input" lay-verify="lenLimit20" disabled="disabled" >
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">报修时间</label>
				<div class="layui-input-block">
					<input type="text" id="see6" autocomplete="off" class="layui-input" lay-verify="lenLimit20" disabled="disabled" >
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">报修问题</label>
				<div class="layui-input-block">
					<input type="text" id="see7"  autocomplete="off" class="layui-input" lay-verify="lenLimit20" disabled="disabled" >
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">处理结果</label>
				<div class="layui-input-block">
					<input type="text" id="see8"  autocomplete="off" class="layui-input" lay-verify="lenLimit20" disabled="disabled" >
				</div>
			</div>

<!--			<div class="layui-form-item">
				<div class="layui-input-block" style="text-align: center;">
					<button type="button" id="see8" class="layui-btn" ><i class="layui-icon">&#xe669;</i>返回</button>
				</div>
			</div>-->
		</form>
	</div>
	<!--查看弹出层结束-->

<!--	填加弹出层开始-->
	<div style="display:none;padding:10px" id="addDiv">
		<form action="" method="post" class="layui-form" id="dataFrm4" lay-filter="dataFrm4">
			<div class="layui-form-item">
				<label class="layui-form-label">报修学校</label>
				<div class="layui-input-block">
					<select name=""  lay-filter="mySelect1">
						<option id="school">请选择报修学校</option>
<!--						<option>井冈山大学</option>-->
					</select>
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">报修教学楼</label>
				<div class="layui-input-block">
					<select name=""  lay-filter="mySelect2">
						<option id="build">请选择教学楼</option>
<!--						<option>第10教学楼</option>-->
					</select>
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">报修教室</label>
				<div class="layui-input-block">
					<select name=""  lay-filter="mySelect3">
						<option id="classroom">请选择教室</option>
<!--						<option>A001</option>-->
					</select>
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">报修问题</label>
				<div class="layui-input-block">
					<input type="text" id="add4" placeholder="请详细输入遇到的问题！"  autocomplete="off" class="layui-input" >
				</div>
			</div>

			<div class="layui-form-item">
				<div class="layui-input-block" style="text-align: center;">
					<button type="button" id="add5" class="layui-btn" ><i class="layui-icon">&#xe605;</i>确认</button>
				</div>
			</div>
		</form>
	</div>
<!--	填加弹出层结束-->

	<!-- 查看弹出层开始-->
	<div style="display:none;padding:10px" id="edit">
		<form action="" method="post" class="layui-form" id="dataFrm3" lay-filter="dataFrm2">
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">处理结果</label>
				<div class="layui-input-block">
					<textarea name="desc" id="edit1" placeholder="请输入处理结果" class="layui-textarea"></textarea>
				</div>
			</div>

			<div class="layui-form-item">
				<div class="layui-input-block" style="text-align: center;">
					<button type="button" class="layui-btn" lay-submit id="doSubmitSave" lay-filter="doSubmitSave"><i class="layui-icon">&#xe605;</i>确认</button>
					<button type="reset" class="layui-btn layui-btn-warm" ><i class="layui-icon">&#xe669;</i>取消</button>
				</div>
			</div>
		</form>
	</div>
	<!--查看弹出层结束-->

	<script type="text/javascript" src="../../layui/layui.js"></script>
	<script type="text/javascript" src="workorder.js"></script>
</body>
</html>
